package org.example.Thread;

/**
 * 作者:TC
 * 时间:2023/12/13 11:10
 * 描述:没有bug
 */
public class firstRunnableTest {
    public static void main(String[] args){
        firstRunnable r1=new firstRunnable("线程一");
        firstRunnable r2=new firstRunnable("线程二");
        Thread t1=new Thread(r1);
        Thread t2=new Thread(r2);
        t1.run();
        t2.run();
    }
}
